GDK W32: Special handling for DELETE requests
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 26 Nov 2017 13:06:24 +0000 (13:06 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 2 Dec 2017 10:38:40 +0000 (10:38 +0000)
commitf0d04f82f8c2835b9c062bb72fa4409328c4c9ed
tree71ee1e337afa99d07b9873f4f0223cc951ea7fb6
parent5e2e0af8b4a39b3174aef4de964d9655d1c7b6ea
GDK W32: Special handling for DELETE requests

1) Ensure that any DELETE requests from the target are sent to GDK, even if
   both the source and the target are in the same process and it
   is therefore possible to use a shortcut and call the handler directly
   in GTK layer
2) Ensure that target GDK doesn't do anything when GTK asks it to send
   a DELETE request, just report back immediately (the code up the stack
   does not check for successfullness when request is DELETE, so not giving
   it any data is OK).

The source code already synthesizes a DELETE request, so that side is
also taken care of.

https://bugzilla.gnome.org/show_bug.cgi?id=786509
gdk/win32/gdkselection-win32.c
gtk/gtkselection.c